# coding: UTF-8
# Filename : chain_part_data_model.py
# Company : imedia
# Author : rose
# -*-coding:utf-8 -*-

#xml头文件
xml_head = '''<?xml version="1.0" encoding="UTF-8" ?>'''
imedia_start = '''<imedia>'''
imedia_end = '''</imedia>'''


imedia_body = '''
<company>
<name>{name}</name>
<logo>{logo}</logo>
<description>{description}</description>
</company>
'''
#验证失败
key_error = xml_head + '''
<imedia>
<error>
<code>000</code>
<msg>错误消息</msg>
</error>
</imedia>
'''
